package com.server.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.server.base.entity.SysRole;
import com.server.base.mapper.SysRoleMapper;
import com.server.base.service.ISysRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色表 服务实现类
 * </p>
 *
 * @author zgr
 * @since 2023-07-11
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {

    @Override
    public List<SysRole> selectRolesByAdminId(Long adminId) {
        return baseMapper.selectRolesByAdminId(adminId);
    }
}
